#!/usr/bin/env python
# -*- coding:utf-8 -*-
__author__ = 'dayu'

from django.conf.urls import patterns, url

urlpatterns = patterns('home.views',
                       url(r'^(?P<blog_id>\d+)/$', 'find_blog_by_id'),
                       url(r'^(?P<blog_id>\d+)/comment/$', 'add_comment'),
                       url(r'^(?P<blog_id>\d+)/praise/$', 'to_praise'),
                       url(r'search/$', 'search_in_home'),
                       url(r'^$', 'home'))
